# 生成所有3位数的水仙花数, 存入列表中
# 2021-8-7 Nasa


# import test31shui_num
from python_by_Nasa import test31shui_num


def make_daffodil():
    shlb=[]
    for i in range(100,1000):
        # b=i//100
        # s=(i-b*100)//10
        # g=i-b*100-s*10
        # a=b**3+s**3+g**3
        a=test31shui_num.shui_num(i)
        if a:
            shlb.append(i)
    # print(shlb,i,a)
    return shlb

l=make_daffodil()
print(l)